<?php

namespace App\Models\Attributes;

use Illuminate\Database\Eloquent\Model;

/**
 * 属性描述（多语言）
 *
 * @property string name
 */
class AttributeDescription extends Model
{
    protected $table = 'attribute_description';
    protected $guarded = [];

    /**
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function attribute()
    {
        return $this->belongsTo(Attribute::class, 'attribute_id', 'attribute_id');
    }
}
